package java69.work717_2;

import java.util.Scanner;

public class Testdog {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Dog dog = new Dog();
        System.out.println("请输入狗狗名字");
        dog.setName(sc.next());
        System.out.println("请输入狗狗性别");
        dog.setSex(sc.next());
        System.out.println("请输入狗狗年龄");
        dog.setAge(sc.nextInt());
        System.out.println("请输入狗狗品种");
        dog.setVariety(sc.next());

        System.out.println("狗狗名字叫："+dog.getName()+"，性别为"+dog.issex()+"，年龄是"+dog.getAge()+"，品种是"+dog.getVariety());

    }
}
